package com.canyou.archives.model;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.Version;
import com.canyou.base.BaseModel;
import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 设备分类
 * </p>
 *
 * @author canyou
 * @since 2021-12-07
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("equ_category")
@ApiModel(value="Category对象", description="设备分类")
public class Category extends BaseModel {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "分类名称")
    @TableField("cname")
    private String cname;

    @ApiModelProperty(value = "使用状态：0未启用，1启用")
    @TableField("state")
    private Integer state;

    @ApiModelProperty(value = "排序")
    @TableField("sort")
    private Integer sort;


}
